package com.hns.can.master.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.hns.can.common.entity.BaseEntity;

/**
 * 站点信息实体
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_BASE_STN_INFO")
public class BaseStnInfoEntity extends BaseEntity implements java.io.Serializable {
    
    // Fields
    @Id
    @Column(name = "STN_ID")
    private String     stnId;
    
    @Column(name = "CORP_ID")
    private String     corpId;
    
    @Column(name = "STN_CD")
    private String     stnCd;
    
    @Column(name = "STN_NAME")
    private String     stnName;
    
    @Column(name = "STN_ALIAS")
    private String     stnAlias;
    
    @Column(name = "LGT")
    private BigDecimal lgt;
    
    @Column(name = "LTT")
    private BigDecimal ltt;
    
    @Column(name = "ROAD")
    private String     road;
    
    @Column(name = "LO_DETAIL_INFO")
    private String     loDetailInfo;
    
    @Column(name = "REMARK")
    private String     remark;
    
    @Column(name = "ENABLED_ST")
    private String     enabledSt;
    
    @Column(name = "CRT_TIME")
    private Date       crtTime;
    
    @Column(name = "CRT_USER")
    private String     crtUser;
    
    @Column(name = "UPDATE_TIME")
    private Date       updateTime;
    
    @Column(name = "UPDATE_USER")
    private String     updateUser;

    //方向
    @Column(name = "DIRECTION")
    private String     direction;

    //进站半径
    @Column(name = "IN_RADIUS")
    private BigDecimal     inRadius;

    //出站半径
    @Column(name = "OUT_RADIUS")
    private BigDecimal     outRadius;

    //限速
    @Column(name = "SPEED_LIMIT")
    private BigDecimal     speedLimit;

    @Transient
    private String     lineId;
    
    @Transient
    private String     lineName;
    
    @Transient
    private String     lineType;
    
    @Transient
    private String corpName;// 企业名称

    public BigDecimal getInRadius() {
        return inRadius;
    }

    public void setInRadius(BigDecimal inRadius) {
        this.inRadius = inRadius;
    }

    public BigDecimal getOutRadius() {
        return outRadius;
    }

    public void setOutRadius(BigDecimal outRadius) {
        this.outRadius = outRadius;
    }

    public BigDecimal getSpeedLimit() {
        return speedLimit;
    }

    public void setSpeedLimit(BigDecimal speedLimit) {
        this.speedLimit = speedLimit;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getStnId() {
        return stnId;
    }
    
    public void setStnId(String stnId) {
        this.stnId = stnId;
    }
    
    public String getCorpId() {
        return corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getStnCd() {
        return stnCd;
    }
    
    public void setStnCd(String stnCd) {
        this.stnCd = stnCd;
    }
    
    public String getStnName() {
        return stnName;
    }
    
    public void setStnName(String stnName) {
        this.stnName = stnName;
    }
    
    public String getStnAlias() {
        return stnAlias;
    }
    
    public void setStnAlias(String stnAlias) {
        this.stnAlias = stnAlias;
    }
    
    public BigDecimal getLgt() {
        return lgt;
    }
    
    public void setLgt(BigDecimal lgt) {
        this.lgt = lgt;
    }
    
    public BigDecimal getLtt() {
        return ltt;
    }
    
    public void setLtt(BigDecimal ltt) {
        this.ltt = ltt;
    }
    
    public String getRoad() {
        return road;
    }
    
    public void setRoad(String road) {
        this.road = road;
    }
    
    public String getLoDetailInfo() {
        return loDetailInfo;
    }
    
    public void setLoDetailInfo(String loDetailInfo) {
        this.loDetailInfo = loDetailInfo;
    }
    
    public String getRemark() {
        return remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    public String getEnabledSt() {
        return enabledSt;
    }
    
    public void setEnabledSt(String enabledSt) {
        this.enabledSt = enabledSt;
    }
    
    public Date getCrtTime() {
        return crtTime;
    }
    
    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }
    
    public String getCrtUser() {
        return crtUser;
    }
    
    public void setCrtUser(String crtUser) {
        this.crtUser = crtUser;
    }
    
    public Date getUpdateTime() {
        return updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public String getUpdateUser() {
        return updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    
    public String getLineType() {
        return lineType;
    }
    
    public void setLineType(String lineType) {
        this.lineType = lineType;
    }
    
    public String getLineId() {
        return lineId;
    }
    
    public void setLineId(String lineId) {
        this.lineId = lineId;
    }
    
    public String getLineName() {
        return lineName;
    }
    
    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }
    
}
